import Vue from 'vue'
import Router from 'vue-router'
import Csdn from "../components/Csdn";
import DetailPage from "../components/DetailPage";
import show from "../components/show";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/csdn',
      name: 'Csdn',
      component: Csdn
    },
    {
      path: '/DetailPage/:no',
      name: 'DetailPage',
      component: DetailPage
    }
  ]
})
